package com.ly.user_system.common;

import lombok.Data;

import java.util.List;

/**
 * @author HASEE
 */
@Data
public class PageResult<T> {
    private List<T> list;
    private Long page;
    private Long size;
    private Long total;

    public PageResult(List<T> list, Long page, Long size, Long total) {
        this.list = list;
        this.page = page;
        this.size = size;
        this.total = total;
    }
}